﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.RaiseManagement
{
    /// <summary>
    /// 羊只淘汰
    /// </summary>
    public class SheepCulled:Aubuit
    {
        [Key]
        public int SheepCulledId { get; set; }
        /// <summary>
        /// 档案编号
        /// </summary>
        public int SleepInforId { get; set; }

        /// <summary>
        /// 淘汰原因
        /// </summary>
        public int CulledId { get; set; }
        /// <summary>
        /// 处理措施
        /// </summary>
        public string? Measures { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNum { get; set; }
        /// <summary>
        /// 淘汰日期
        /// </summary>
        public DateTime? CulledDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 是否离场
        /// </summary>
        public int ExitName { get; set; }
    }
}
